 $(document).ready(function(){       
 
   $("#submit").validate({             
   
   rules: {                 
   		email:{    
			//required : true              
			remote: '<?php echo base_url();?>login/remote'                 
			}            
		 },   
		          
		 messages: {             
		      email: {       
			  required :  "<li> email alrardy.</li>"
					//remote : "<li> email alrardy.</li>"
					//minlength :  "<li> Please enter a over  5 charecter.</li>"
				}             
			  // remote:jQuery.format("Email \"{0}\" have been used.")                
			    }            
				         
				  });    
				   }); 